a=['a','b','c','d']

for i,data in enumerate(a):
    print(i,data)